package auction.model;

import java.util.*;

public class Item2OneToManyEntity{
	private Long id;
	private String title;
	
	private Set<CategoryItem2OneToManyEntity> categorizedItems=new HashSet<CategoryItem2OneToManyEntity>();
	
	public Item2OneToManyEntity(){
	}
	
	public Item2OneToManyEntity(String t){
		title=t;
	}
	
	public Long getId(){
		return id;
	}
	public void setId(Long i){
		id=i;
	}
	
	public void setCategorizedItems(Set<CategoryItem2OneToManyEntity> i){
		categorizedItems=i;
	}
	public Set<CategoryItem2OneToManyEntity> getCategorizedItems(){
		return categorizedItems;
	}
	
	public void setTitle(String i){
		title=i;
	}
	public String getTitle(){
		return title;
	}
}